package cn.nebula.core.admin.model;

import cn.nebula.core.base.model.BaseUser;

/**
 * Superuser entity. @author MyEclipse Persistence Tools
 */

public class Superuser extends BaseUser implements java.io.Serializable {
	
	private static final long serialVersionUID = 2215282814387503546L;
	// Fields    
	public final static String ADMIN_USER = "ADMIN_USER";
	
	/**
	 * 域管理员
	 */
	
	private boolean domainAdmin;
	/**
	 * 超级管理员
	 */
	private boolean superAdmin;
	
	public Superuser() {
		super();
	}
	
	public Superuser(String name, String loginno, String loginpwd, String email, Integer status, String telephone, boolean domainAdmin, boolean superAdmin) {
		super(name, loginno, loginpwd, email, status, telephone);
        this.domainAdmin = domainAdmin;
        this.superAdmin = superAdmin;
    }

	public boolean isDomainAdmin() {
		return domainAdmin;
	}
	public void setDomainAdmin(boolean domainAdmin) {
		this.domainAdmin = domainAdmin;
	}
	public boolean isSuperAdmin() {
		return superAdmin;
	}
	public void setSuperAdmin(boolean superAdmin) {
		this.superAdmin = superAdmin;
	}
}